//
//  SQRechargeListView.m
//  pai
//
//  Created by pro on 14-12-5.
//  Copyright (c) 2014年 linjunjing. All rights reserved.
//

#import "SQRechargeListView.h"

@implementation SQRechargeListView

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
    }
    return self;
}
+(SQRechargeListView*)initmyview
{
    NSArray* nibView =  [[NSBundle mainBundle] loadNibNamed:@"SQRechargeListView" owner:nil options:nil];
    return [nibView objectAtIndex:0];
}
- (IBAction)doActionPointsInfo:(id)sender {
    if (self.delegate) {
        [self.delegate gotoRechargeView];
    }
}
-(void)setInfo:(NSString*)points totalPoints:(NSString*)totalpoints
{
    self.nowPointsLabel.text = points;
    self.totalPointsLabel.text = totalpoints;
}

@end
